<template>
  <div>
    <!-- 搜索 -->
     <div id="oneseek">
            <div class="return" @click="turn"> &lt; </div>
            <input type="text" class="seek"  placeholder="Ins风配饰" />
            <button class="btn1" >搜索</button>
      </div>
      <!-- 历史搜索 -->
      <div class="record">
          <span>历史搜索</span>
          <!-- 搜索内容  history历史记录 -->
          <div class="history">
              <div>宽松</div>
              <div>女 </div>
              <div>Ins风</div>
              <div>简约</div>
               <div>优衣库</div>
              <div>宜家</div>
              <div>北欧风格</div>
              <div>纯白色</div>
          </div>
      </div>

      <!-- 搜索发现 -->
      <div class="find">
          <span>搜索发现</span>
          <ul>
              <li>简约男装</li>
              <li>修身款</li>
              <li>水果自制茶</li>
              <li>简约风格</li>
              <li>上衣</li>
              <li>半身裙</li>
              <li>森系</li>
              <li>极简</li>
          </ul>
      </div>
  </div>
</template>
<script>
export default {
  methods: {
    turn () {
      this.$router.push('/home')
    }
  }
}
</script>
<style lang="less" scoped>
*{
  margin: 0;
  padding: 0;
}
// 引入公共样式文件
@import "../../style/common.less";
// 搜索
#oneseek {
  color: #c1ab96;
  background: #fff !important;
  height: 65px;
  // border: 1px solid black;
  padding: 12px;
  flex: 1;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 40px;
}
// input
.seek {
  &::-webkit-input-placeholder {
    color: #c1ab96;
  }
  border: 0;
  background-color: rgba(234, 233, 229, 1);
  border-radius: 20px;
  width: 270px;
  height: 35px;
  flex: 1;
  margin-right: 20px;
  padding-left: 20px;
}
.btn1 {
  border: 0;
  width: 60px;
  border-radius: 16px;
  height: 30px;
  color: #c1ab96;
  margin-top: 2px;
}
.return{
    margin-right: 10px;
    line-height: 30px;
    font-size: 30px;
}
// 历史搜索
.record {
    margin-bottom: 10px;
    span{
        margin-left: 20px;
        color: #333;
        font-size: 20px;
        font-weight: 600;
    }
    .history{
    display: flex;
    // flex-direction: column;
    width: 85%;
        flex-wrap: wrap;
        // justify-content: space-around;
        justify-content: flex-start;
    div{
        border-radius: 20px;
        margin: 10px;
        line-height: 40px;
        text-align:center;
        // width: 18%;
        color:#fff;
        background: #f8e6d3;
        width: 65px;
        height: 40px;
        // border: 1px solid pink;
        font-size: 14px;
    }
}
}
// 搜索发现
.find {
    span{
        margin-left: 20px;
        color: #333;
        font-size: 20px;
        font-weight: 600;
    }

    ul {
        display: flex;
        width: 100%;
        // background-color: pink;
        flex-wrap: wrap;

        li {
            width: 50%;
            height: 60px;
            line-height: 60px;
            // background-color: skyblue;
            padding-left: 20px;
            text-align: left;
            box-sizing: border-box;
            color: #333;
            font-size: 14px;
        }
    }
}

</style>
